package com.joysuch.wwyt.workflow.repository;

import com.joysuch.wwyt.workflow.entity.ScreenColumnConfig;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Author ZhangDong
 * @Date 2021/1/8 10:04
 */
public interface ScreenColumnConfigDao extends JpaRepository<ScreenColumnConfig, Long> {

    ScreenColumnConfig findFirstByTypeId(Long typeId);

    ScreenColumnConfig findFirstByTypeName(String typeName);

}
